module.exports = Object.freeze({
    HTTP_CODE: {
        BAD_REQUEST: {code: 400, msg: "错误的请求"},
        UNAUTHORIZED: {code: 401, msg: "未登录"},
        FORBIDDEN: {code: 403, msg: "权限不足"},
        NOT_FOUND: {code: 404, msg: "地址不存在"},
        INTERNAL_SERVER_ERROR: {code: 500, msg: "服务器内部错误"},
        SERVICE_BUSY: {code: 503, msg: "系统繁忙，请稍后"},
        SUCCESS: {code: 200, msg: "成功！"}
    },
    CUSTOM_CODE: {
        SOME_CUSTOM_ERROR: {code: 1001, msg: ""},
    }
})